#!/bin/bash
adb root
cd $(pwd)
mkdir ./nv12
adb remount
adb shell ls /data/|grep .nv12
adb shell mkdir /data/nv12/
adb shell mv /data/*nv12 /data/nv12/
adb pull /data/nv12/ ./nv12/
adb shell rm /data/*.nv12
adb shell rm /data/yuv/*.nv12
